package com.decent.web.system.dao;

import com.decent.web.system.vo.SystemBannerVO;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * @author: decent Gjh
 * @date: 2022/10/24/15:53
 * @description:
 */
@Mapper
public interface SystemBannerDao {
    /**
     * 获取所有banner 根据sort排序
     * @return banner列表
     */
    @Select("select * from common_banner WHERE sort > 0 order by sort ")
    List<SystemBannerVO> getBannerList();
}